import * as tslib_1 from "tslib";
import { Entity, NgField, NgObject, NgEntity } from '@farris/devkit';
import { QdpDateUdt4f5bEntity } from './qdpdateudt4f5bentity';
var BXDCXFrmEntity = /** @class */ (function (_super) {
    tslib_1.__extends(BXDCXFrmEntity, _super);
    function BXDCXFrmEntity() {
        return _super !== null && _super.apply(this, arguments) || this;
    }
    tslib_1.__decorate([
        NgField({
            originalDataField: 'ID',
            dataField: 'id',
            primary: true,
            originalDataFieldType: 'String',
            initValue: '',
            path: 'ID',
            validRules: [
                {
                    type: 'required',
                    constraints: [true],
                },
                {
                    type: 'maxLength',
                    constraints: [36],
                    message: '最大长度为36',
                }
            ]
        }),
        tslib_1.__metadata("design:type", String)
    ], BXDCXFrmEntity.prototype, "id", void 0);
    tslib_1.__decorate([
        NgField({
            originalDataField: 'EmployeeID_Name',
            dataField: 'employeeID_Name',
            originalDataFieldType: 'String',
            initValue: '',
            path: 'EmployeeID_Name',
            validRules: [
                {
                    type: 'maxLength',
                    constraints: [36],
                    message: '最大长度为36',
                }
            ]
        }),
        tslib_1.__metadata("design:type", String)
    ], BXDCXFrmEntity.prototype, "employeeID_Name", void 0);
    tslib_1.__decorate([
        NgField({
            originalDataField: 'DomainID_name',
            dataField: 'domainID_name',
            originalDataFieldType: 'String',
            initValue: '',
            path: 'DomainID_name',
            validRules: [
                {
                    type: 'maxLength',
                    constraints: [100],
                    message: '最大长度为100',
                }
            ]
        }),
        tslib_1.__metadata("design:type", String)
    ], BXDCXFrmEntity.prototype, "domainID_name", void 0);
    tslib_1.__decorate([
        NgObject({
            dataField: 'billDate',
            originalDataField: 'BillDate',
            type: QdpDateUdt4f5bEntity
        }),
        tslib_1.__metadata("design:type", QdpDateUdt4f5bEntity)
    ], BXDCXFrmEntity.prototype, "billDate", void 0);
    BXDCXFrmEntity = tslib_1.__decorate([
        NgEntity({
            originalCode: "BXDCX_frm",
            nodeCode: "bxdcX_frms"
        })
    ], BXDCXFrmEntity);
    return BXDCXFrmEntity;
}(Entity));
export { BXDCXFrmEntity };
